Method and system for facilitating memory and application management on a secured token

ABSTRACT

A system for facilitating memory and application management on a smartcard the system includes a client having a number of applications and a smartcard having specification logic allowing file structures and security and access conditions to be defined using a set of common commands. Each application has a corresponding group of data on the smartcard. An applet instance is created for each application and corresponding group of application data. At the time of instantiation, the specification logic allows an application to specify the file structure and/or to specify security and access conditions for its group of data. An application can utilize passcode and credential management so that a single passcode is used to access the smartcard regardless of whether the application utilizes the common commands to specify a file structure.

CROSS-REFERENCES TO RELATED APPLICATION

The present application is a continuation of U.S. patent application Ser. No. 10/310,748 entitled “Method and System for Facilitating Memory and Application Management on a Secured Token” filed on Dec. 4, 2002, which claims the benefit of priority under 35 U.S.C. §119 from U.S. Provisional Patent Application Ser. No. 60/338,419 entitled “Smart Card Framework” filed on Dec. 4, 2001, each of which is hereby incorporated herein by reference in its entirety for all purposes.

BACKGROUND OF THE INVENTION

The present invention generally relates to smartcard, and more specifically, to a method and system for facilitating memory and application management of multiple applications on a smartcard.

With current technologies, a single smartcard is able to store and handle multiple applications. Typically, when a single smartcard contains multiple applications, each application is kept separate and operates independently of other applications. More specifically, the application code or logic and associated data for each application are strictly confined for access and use by that particular application. In other words, the application code and the associated data for each application are not shared with other applications on the smartcard.

In general, applications often include a number of functions or logic that is commonly used by almost all other applications residing on a smartcard. As a result, when applications do not share their code with other applications, there is an overlap of application code that is used for implementing these commonly used functions amongst the various applications. The duplicative application code did not present a significant disadvantage if memory space was freely available. In a smartcard, however, memory space is of a premium due to its limited physical size. Duplicative application code in a smartcard, therefore, occupies valuable memory space that could otherwise have been utilized for other purposes.

Hence, it would be desirable to provide a method and system that is capable of facilitating memory management of multiple applications on a smartcard.

Furthermore, when applications on a smartcard operate independently from one another, a person managing the smartcard must then be familiar with the mechanics of each application. For example, in order to program a particular application on the smartcard, a person must be familiar with the syntax of the programming language that is used to program that particular application. Consequently, the task of managing multiple applications on the smartcard becomes quite burdensome.

Hence, it would also be desirable to have a method and system that is capable of facilitating application management on a smartcard.

BRIEF SUMMARY OF THE INVENTION

A system for facilitating memory and application management on a secured token, such as a smartcard, is provided. According to one exemplary embodiment, the system includes a client having a number of applications and a smartcard having specification logic that allows file structure and security and access conditions to be defined, a common command (CC) applet and a passcode and access (P&A) applet. The CC applet (and its instances) supports two sets of commands, one set for each corresponding state. The P&A applet (and its instances) supports all the commands supported by the CC applet as well as a number of additional commands that are intended to provide additional services.

Each application has a corresponding group of data on the smartcard. Depending on security and access requirements, either the CC applet or the P&A applet is instantiated, i.e., an applet instance is created, to manage each group of application data. In other words, there is a corresponding applet instance for each group of application data. At the time of instantiation, the specification logic allows an application to specify the file structure and security and access conditions for its group of application data. Optionally, the security and access conditions can be subsequently changed to accommodate additional access to the group of application data. Furthermore, the application can also specify which commands from the sets of commands that are supported by either the CC applet or the P&A applet are to be associated with the instantiated applet instance. An application contacts the corresponding applet instance in order to access a specific group of application data.

In an exemplary manner, one client having one or more applications is able to communicate with multiple applet instances. Conversely, one applet instance is able to communicate with multiple clients.

The CC applet (and its instances) supports two sets of commands, one set for each corresponding state. The two states are selectable state and personalized state. Under the selectable state, the following commands are available including “select applet”, “initialize update”, “external authenticate”, “store data”, and “end personalization.” Under the personalized state, the following commands are available including “select applet”, “get data”, “read binary”, “read binary (secure messaging)”, “read record”, “read record (secure messaging)”, “update binary”, “update binary (secure messaging)”, “update record”, “update record (secure messaging)” and “verify passcode”.

The P&A applet (and its instances) supports all the commands supported by the CC applet as well as a number of additional commands that are intended to provide additional services including, for example, passcode and credential management and cryptographic services. Under the selectable state, an additional command that is available to the P&A applet includes “get status”. Under the personalized state, the additional commands that are available to the P&A applet include “get status”, “internal authenticate”, “change passcode” and “unblock passcode”.

In an exemplary embodiment, some of the commands supported by the CC applet or the P&A applet are made available to applications that do not utilize the CC applet or the P&A applet to manage their respective data. For example, commands relating to passcode management and supported by the P&A applet can be made available to other applications residing on the smartcard. By making such commands available to these other applications, these other applications can take advantage of the already existing passcode management functionality without having to implement logic and/or commands to effect the same functionality on their own.

Reference to the remaining portions of the specification, including the drawings and claims, will realize other features and advantages of the present invention. Further features and advantages of the present invention, as well as the structure and operation of various embodiments of the present invention, are described in detail below with respect to accompanying drawings, like reference numbers indicate identical or functionally similar elements.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a simplified block diagram illustrating an exemplary embodiment of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

The present invention in the form of one or more exemplary embodiments will now be described. Referring to FIG. 1, in one exemplary embodiment, the system 10 includes a client 12 and a smartcard 14. The client 12 can be any kind of device and/or software that resides outside of the smartcard 14 and is capable of communicating with the smartcard 14. For example, the client 12 can be a personal computer, a kiosk, ATM software, etc. The client 12 further includes one or more applications or snap-ins 16 a-d. These applications 16 a-d can serve different purposes or functions. For example, an application 16 a can be a business application designed to manage a loyalty program for smartcard holders. The applications 16 a-d communicate with the smartcard 14 via use of Application Data Protocol Units (APDUs). APDUs are basic units of communications with a smartcard. In addition, it should be understood that while an exemplary embodiment includes a smartcard, the present invention in other alternative embodiments can be deployed with any secured token. A person of ordinary skill in the art will know of other ways and/or methods to deploy the present invention.

In an exemplary embodiment, the smartcard 14 includes specification logic that allows data or file structures and security and access conditions to be defined. The use of this specification logic will be further described below. The smartcard 14 also includes a common command (CC) applet 18 and a passcode and access (P&A) applet 20. As will be further described below, in one exemplary embodiment, the CC applet 18 supports two sets of commands, and the P&A applet 20 supports all the commands of the CC applet 18 as well as an additional set of commands designed to provide additional services including, for example, passcode management and credential management services. The added functionality provided by the P&A applet 20 may be appropriate for some applications. The CC applet 18 and the P&A applet 20 provide standardized commands that can be used by the applications 16 a-d to access and manage data stored on the smartcard 14. In other words, different applications 16 a-d can utilize the CC applet 18 and the P&A applet 20 and the respective commands that they provide to access and manage their respective data stored on the smartcard 14. By utilizing the CC applet 18 and the P&A applet 20, different applications 16 a-d can then manage their respective data in a standardized manner without having to know the details and mechanics behind how data management is effectuated by the smartcard 14. It should be noted that the CC applet 18 and the P&A applet 20 provide commands that effect common functionality that are often utilized by the various applications 16 a-d. Each application 16, however, can further include its own logic or commands on the smartcard 14. Such logic or commands are designed to provide specific or unique functionality that is utilized exclusively by that application to manage its corresponding data. For example, a loyalty management application is able to use the P&A applet 20 to store and access its loyalty data in a secured manner; when the data is to be processed according to some loyalty program criteria, the loyalty management application uses its own logic and/or commands to process the loyalty transaction.

The system 10 operates in the following exemplary manner. Before data can be stored on the smartcard 14, certain functions and/or conditions with respect to management of that data are to be specified. For example, the appropriate data or file structure and security and access conditions for accessing the data can be specified. In order to achieve the foregoing, an application 16 a contacts the smartcard 14 which, in turn, causes the CC applet 18 to be instantiated. That is, an instance of the CC applet 18 is created. Alternatively, depending on the functionality desired, the P&A applet 20 can also be instantiated. The CC applet instance supports the two sets of commands as mentioned above. The CC applet instance uniquely corresponds to the data 22 a relating to the application 16 a and is used to effect a number of functions with respect to data 22 a.

At the time of instantiation of the CC applet instance, the specification logic can be used by the application 16 a to define the file structure and/or associated security and access conditions for its data. The particular details with respect to the file structure and/or associated security and access conditions to be specified may vary from application to application. For example, the application 16 a may specify the file size for its data and assign varying levels of security for access to its data 22 a. One application 16 b may be allowed free access to data 22 a, while other applications 16 c-d may need to be authenticated before data access is allowed. Furthermore, applications 16 c-d may need to be authenticated differently; for example, a more sophisticated authentication scheme for application 16 c and a simple password for application 16 d. As a result, different applications 16 a-d may each customize their own file structure and associated security and access conditions for their respective data 22 a-d.

Moreover, the specification logic allows the application 16 a to modify its file structure and associated security and access conditions at any time after they are initially defined. For example, the application 16 a may want to grant data access to a new application that was not in existence at the time when the initial security and access conditions were set.

In addition, at the time of instantiation, the application 16 a is able to selectively decide which of the commands supported by the CC applet 18 are to be available to the instantiated CC applet instance. In other words, the application 16 a can select which commands are to be associated with the CC applet instance. Similarly, commands that may be made available to each CC applet instance may vary from application to application. For example, all of the commands supported by the CC applet 18 can be made available to the CC applet instance for managing the application data; alternatively, only a subset of all the available commands are used. As a result, different combinations of commands are available to meet the respective needs or design of different applications 16 a-d. In this manner, the applications 16 a-d can each choose and utilize selected commands to be provided by the respective CC applet instances. In other words, one application 16 a can choose one subset of commands to be used for managing its data, while another application 16 b can choose a different subset of commands, depending on the circumstances.

In addition to allowing the application 16 a to select the associated commands for its CC applet instance, the application 16 a is further able to define the usage conditions associated with each selected command. For example, the application 16 a can define varying authorization levels for different applications 16 b-d with respect to a selected command. One application 16 b may not need to be authenticated before the selected command is available for its use, while another application 16 c may need to be authenticated with respect to the same selected command.

Subsequently, when the application 16 a needs to manage its data on the smartcard 14, the corresponding CC applet instance (and the associated commands that have been made available) is used by the application 16 a to effect the data management functions. For example, the CC applet instance can be directed by the application 16 a to perform save, delete, read or write functions with respect to the application's own data. Furthermore, other applications 16 b-d can also communicate with the CC applet instance corresponding to the data relating to the application 16 a to access such data. As described above, such data access by these other applications 16 b-d may vary and is often restricted based on which application is seeking access. In some situations, for example, even if access is permitted, these other applications 16 b-d are only given the right to read but not alter the data relating to the application 16 a.

Likewise, when other applications 16 b-c need to store their respective data 22 b-c, the specification logic can be used to define the respective file structures and security and access conditions. Multiple corresponding CC applet instances are also created and their respective associated commands are specified. Each CC applet instance is used to manage the data 22 created and stored by the corresponding application 16. In other words, there is a one-to-one correspondence between a CC applet instance and the data created and stored by an application 16. For example, data 22 a-d are each managed by a corresponding CC applet instance. In this manner, the data 22 a-d associated with the corresponding applications 16 a-d are kept separate.

In an exemplary manner, one client having one or more applications is able to communicate with multiple applet instances. Conversely, one applet instance is able to communicate with multiple clients.

It should be understood that while the foregoing is described with respect to the CC applet 18, the same applies to the P&A applet 20 as well. In other words, if services provided by the P&A applet 20 is desired by an application 16, an instance of the P&A applet 20 is created. This P&A applet instance similarly corresponds to data relating to that particular application 16.

According to one exemplary embodiment, the CC applet 18 provides a number of services including, for example, access to application data, creation, access and modification of files and passcode verification. The CC applet 18 is used by an application 16 a to create and support a file system accessible to the client 12 through a common set of APDUs. More specifically, an CC applet instance is created that cooperates with the application 16 a to create and support the desired file system. The file system managed by the CC applet instance is independent from potential other file systems. The files that can be managed by the CC applet instance include, for example, binary (transparent) files, fixed record (linear) files and cyclic record files. When files in the file system are first created, the files are defined with their respective security and access conditions to provide access protection. Access protection can be provided in a number of ways including, PIN verification and secure messaging. Under PIN verification, a smartcard holder is required to verify his/her PIN before accessing a file. Under secure messaging, a party is required to provide signed commands in order to access certain specific files.

As mentioned above, the CC applet 18 (and its instances) supports two different sets of commands. Which set of commands is available depending on the state of the CC applet instance. The CC applet instance can be in one of two states, namely, the “selectable” state and the “personalized” state. Under the selectable state, the following commands are available including “select applet”, “initialize update”, “external authenticate”, “store data”, and “end personalization.” Under the personalized state, the following commands are available including “select applet”, “get data”, “read binary”, “read binary (secure messaging)”, “read record”, “read record (secure messaging)”, “update binary”, “update binary (secure messaging)”, “update record”, “update record (secure messaging)” and “verify passcode”. As mentioned above, an application 16 can selectively decide which of these commands are to be associated with an CC applet instance. For example, if tighter security is desired, an application 16 may specify only commands having secure messaging functionality to be associated with the CC applet instance for managing its data. Secure messaging is used to protect communications between the smartcard 14 and the client 12 in a hostile environment in which the communications can be compromised. For example, the client 12 and the smartcard 14 may need to communicate via a computer network or other form of transmission medium.

The “select applet” command that is available under the selectable state allows an application 16 to select a previously created CC applet instance. In the selectable state, the “select applet” command when invoked does not return any response data. Once the “select applet” command is selected, the other commands supported by the CC applet instance become available.

The “initialize update” command initiates a secure channel to be used by subsequent commands. This command allows card authentication by the client 12 and computes session keys used for MAC computation of subsequent commands.

The “external authenticate” command is used to authenticate an external device to the smartcard 14. It is part of the APDU command sequence that is used to initiate a secure channel. This command is preceded by the “initialize update” command mentioned above.

The “store data” command is used to store information in the CC applet instance during personalization phase. During the personalization phase, a party such as an issuer of the smartcard 14 personalizes the smartcard 14 with its own specific information thereby allowing the smartcard 14 to be subsequently identified as relating to that party.

The “end personalization” command is used the end of the personalization phase, i.e., when all the information that is to be stored have been sent through the “store data” commands. In addition, this command computes a Key Check Value and compares its with in the APDU. When this command is executed, the CC applet transitions to a personalized state.

The “select applet” command that is available under the personalized state allows an application 16 to select a previously created CC applet instance. In effect, this allows an application 16 to use the selected CC applet instance to manage the corresponding data. Similarly, when the “select applet” command is selected, the other commands supported by the CC applet instance become available. Unlike the “select applet” command available under the selectable state, the “select applet” command when invoked in the personalized state provides a response message.

The “get data” command is used to access different types of information from a CC applet instance. The different types of information include, for example, the number of remaining passcode tries (before it is blocked), thee transaction number indicating the number of times the CC applet instance has been selected after card reset and the status of the global PIN (validate or not validated).

The “read binary” command is used to read information from a transparent file designated by its short file identifier. Data to be read are designated by their offset in the file in data unit size. The data unit size of a file is defined at file creation during the CC applet instantiation. The “read binary (secure messaging)” command is used when secure messaging is desired. The “read binary (secure messaging)” command includes a data field having a n-byte long MAC to allow secure messaging to be established. The MAC is used to authenticate that the command came from an issuer of the smartcard 14 or a source authorized by the issuer to create the command.

The “read record” command is used to read records from a liner or a cyclic file designated by its short file identified. Records can be read partially or as a whole. The “read record (secure messaging)” command is used when secure messaging is desired. The “read record (secure messaging)” command includes a data field having a n-byte long MAC to allow secure messaging to be established.

The “update binary” command is used to modify information in a transparent file designated by its short file identifier. Data to be modified or updated are designated by their offset in the file in data unit number. The data unit size of a file is defined at file creation during the CC applet instantiation. The “update binary (secure messaging)” command is used when secure messaging is desired. The “update binary (secure messaging)” command includes a data field having a n-byte long MAC to allow secure messaging to be established.

The “update record” command is used to modify records in a linear or a cyclic file designated by its short file identifier. Records can be modified or updated partially or as a whole. When modifying a fixed linear record file, any record can be modified as records are accessed by their index in the file (record number). When modifying a cyclic file, only the “oldest” record can be modified. Once a record in the cyclic file is modified, it becomes the first or “newest” record. The “update record (secure messaging)” command is used when secure messaging is desired. The “update record (secure messaging)” command includes a data field having a n-byte long MAC to allow secure messaging to be established.

The “verify” command is used to verify the passcode provided by the smartcard holder. The passcode is converted to a card global PIN. The CC applet uses the card global PIN to open corresponding access conditions for the data 22 managed by corresponding CC applet instance. The passcode is a smartcard holder secret that is shared by all CC applet instances. Hence, by providing the passcode, the smartcard holder is granted access to all CC applet instances on the smartcard 14.

As mentioned above, the P&A applet supports all the commands of the CC applet 18 as well as an extra set of commands providing additional services including, for example, passcode management and credential management services. These additional services, such as, passcode and credential management and cryptographic services, utilize authentication mechanisms including symmetric keys and/or public keys to provide secure access to the data 22 d-f. For example, the P&A applet 20 can provide the following cryptographic services including, DES MAC and RSA signature.

The P&A applet 20 provide the passcode verification mechanism as described above. Further, the P&A applet 20 provides the mechanisms for changing and unblocking the card global PIN. In order to change the card global PIN, the current passcode is sent with the new passcode. The P&A applet 20 first verifies the current passcode. If the verification is successful, the P&A applet 20 converts the new passcode value to an EMV format and changes with current passcode with the new EMV value. The current passcode remains in a validated state.

When the passcode is blocked, the P&A applet 20 has the capability to unblock it for a limited number of times. More specifically, the P&A applet 20 internally manages an “unblocking counter” that is decremented each time the smartcard holder tries to unblock the passcode (whether the unblocking is successful or not). In order to successfully unblock a passcode, a new passcode value is provided by the smartcard holder as well as another special passcode called an “unblocking passcode”. The P&A applet 20 has access to several unblocking passcodes that are stored internally on the smartcard 14. Each unblocking passcode is designed to be used only once. If the unblocking passcode supplied by the smartcard holder is valid, then the passcode is unblocked and reset to the new value, and the unblocking passcode provided by the smartcard holder is invalidated. If the unblocking passcode provided by the smartcard holder is invalid, the passcode remains blocked. When the unblocking counter reaches zero, then the passcode can no longer be unblocked (even if there are valid unblocking passcodes remaining).

Likewise, the P&A applet 20 (and its instances) also supports two different sets of commands. Which set of commands is available depending on the state of the P&A applet instance. The P&A applet instance also can be in one of two states, namely, the “selectable” state and the “personalized” state. Under the selectable state, the following commands are available to the P&A applet 20 including “select applet”, “get status”, “initialize update”, “external authenticate”, “store data”, and “end personalization.” Under the personalized state, the following commands are available to the P&A applet 20 including “select applet”, “get data”, “read binary”, “read binary (secure messaging)”, “read record”, “read record (secure messaging)”, “update binary”, “update binary (secure messaging)”, “update record”, “update record (secure messaging)”, “verify passcode”, “get status”, “internal authenticate”, “change passcode” and “unblock passcode”.

The “select applet”, “initialize update”, “external authenticate”, “store data” and “end personalization” commands available in the selectable state provide the same respective functions as those comparable commands which are available to the CC applet 18, as described above.

The “get status” command is used to return information detailing the internal status of the P&A applet 20.

The “store data” command is used to store information in the P&A applet 20 during the personalization phase.

The “end personalization” command is used at the end of the personalization phase, i.e., when all the information that has to be stored have been sent through the “store data” commands. Certain authentication mechanisms such as, DES keys and RSA private key, are used by this command to provide added data security. When this command is executed, the P&A applet transitions to a personalized state.

The “select applet”, “get status” commands that are available to the P&A applet 20 during the personalized state provide the same respective functions as those comparable commands which are available to the P&A applet 20 during the selectable state, as described above.

The “internal authenticate” command is used to calculate a DES MAC of incoming data and/or generate an RSA signature of the incoming data. The passcode is verified before this command is executed.

The “change passcode” command is used to modify the value of the current passcode. In order to modify the value of the current passcode, the command contains the value of the current passcode as well as the new value. The passcode is verified before this command is executed. That is, the P&A applet 20 first validates the current passcode value before changing it to the new value. If the validation fails, the passcode try counter is decremented (possibly blocking the passcode), and the card global PIN status is reset to “not validated.”

The “unblock passcode” command is used to unblock the passcode. In order to unblock the passcode, the command contains a valid unblocking passcode and a new passcode value. The unblocking passcode is received from the smartcard holder and checked against a number of corresponding unblocking passcodes that have been previously stored on the smartcard 14. If the unblocking passcode provided by the smartcard holder is valid, then the passcode is reset with the new value and the corresponding unblocking passcode stored in the smartcard holder is invalidated. As mentioned above, the unblocking passcodes are defined during the personalization phase.

In an alternative exemplary embodiment, selective commands of the CC applet 18 or the P&A applet 20 are made available to applications that do not utilize the CC applet 18 and the P&A applet 20 to manage their data. That is, an application that does not utilize the CC applet 18 and the P&A applet 20 to manage its data is able to inherit or use some of the functionality offered by selective commands of the CC applet 18 or the P&A applet 20. For example, commands relating to passcode management and supported by the P&A applet 20 can be made available to other applications residing on the smartcard 14. By making such commands available to these other applications, these other applications can take advantage of the already existing passcode management functionality on the smartcard 14 without having to implement logic and/or commands to effect the same functionality on their own. This centralized passcode management approach, i.e., allowing all applications on the smartcard 14 access to the passcode functionality, regardless of whether an application utilizes other commands supported by the CC applet 18 or the P&A applet 20, allows one passcode to be used to access the smartcard 14. This provides convenience of use to the smartcard holder because the smartcard holder only has to remember and provide one single passcode to gain access to all the applications on the smartcard 14, even though an application may have its own proprietary control logic in the smartcard 14 to manage its data.

The foregoing description with respect to the CC applet 18 and the P&A applet 20 and their respective sets of commands is provided for illustrative purposes only. Based on the disclosure and teachings provided herein, it will be appreciated by a person of ordinary skill in the art that the present invention can be implemented in various different manners. For example, the present invention is not limited to the two types of applets, i.e., CC applet 18 and P&A applet 20, as described above; other types of applets can be implemented and one or more types of applets may be available on a smartcard. Furthermore, the nature and number of commands supported by each applet can also vary depending on the specific design and/or constraints of particular applications to be installed on a smartcard. For example, if a smartcard is to contain a number of related loyalty applications, some of the logic and/or commands used to effect specific loyalty transaction functionality that are present in each of the related loyalty applications can be implemented as a set of commands supported by a loyalty applet, as described above. The related loyalty applications can then each invoke the loyalty applet, when appropriate, to effect such functionality.

Based on the disclosure and teachings provided herein, it will be appreciated by a person of ordinary skill in the art that the present invention provides a number of benefits and advantages. For example, the present invention provides additional flexibility with respect to data management on smartcard. Applications are able to customize their own respective file structures and security and access conditions and specify their desired commands from a set of common commands for managing their respective data. Moreover, the customization and specification of commands can be performed after the smartcard is issued. For example, a blank smartcard can be issued to a smartcard holder. An application using the present invention can subsequently customize its own data structure and specify the security and access conditions and the associated commands for managing data to be stored on the smartcard. In another example, the initially specified security and access conditions can be subsequently changed to accommodate new circumstances, such as, a new application needing access to the data.

It is understood that the examples and embodiments described herein are for illustrative purposes only and that various modifications or changes in light thereof will be suggested to persons skilled in the art and are to be included within the spirit and purview of this application and scope of the appended claims. All publications, patents, and patent applications cited herein are hereby incorporated by reference for all purposes in their entirety. 

1-23. (canceled)
 24. A secured token comprising: an applet providing a set of common commands and operable to be instantiated to create a plurality of applet instances; and specification logic allowing specification of file structures, security conditions, and access conditions for each applet instance in the plurality of applet instances.
 25. The secured token of claim 24, wherein the secured token is a smartcard.
 26. The secured token of claim 24, wherein the applet is a first applet, the secured token further comprising a second applet providing a second set of common commands, the second set of common commands including the first set of common commands and additional commands to provide additional services.
 27. The secured token of claim 24, wherein an applet instance is associated with a subset of the set of common commands.
 28. The secured token of claim 24, wherein the set of common commands includes a select command for selecting a desired applet instance, a retrieve command for retrieving information from a desired applet instance, a file read command for reading data from a desired file, a record read command for reading data from a desired record in a file, a file update command for updating data in a desired file, a record update command for updating a desired record, and a verify passcode command for verifying the passcode in order to access the secured token.
 29. The secured token of claim 24, wherein the set of common commands includes a get status command for retrieving information detailing an internal status of the corresponding applet, and wherein the second set of commands includes a get status command for retrieving information detailing an internal status of the corresponding applet, an internal authenticate command for providing credential management services for incoming data, a change passcode command for modifying the passcode used for accessing the secured token, and an unblock passcode command for unblocking the passcode.
 30. A method comprising: providing an applet on a secured token, the applet providing a set of common commands; and instantiating a plurality of applet instances, including a first applet instance for a first application, utilizing the set of commands, wherein the set of common commands specifies file structures, security conditions, and access conditions for each applet instance in the plurality of applet instant.
 31. The method of claim 30 further comprising: providing the secured token, wherein the secured token is a smartcard.
 32. The method of claim 30, wherein the applet is a first applet, the secured token further comprising a second applet providing a second set of common commands, the second set of common commands including the first set of common commands and additional commands to provide additional services.
 33. The method of claim 32 further comprising utilizing at least one cryptographic service provided by the second set of common commands and utilizing a signature selected from the group consisting of DES-MAC and RSA signatures.
 34. The method of claim 30 further comprising using the first application in a client to interact with the first applet instance.
 35. The method of claim 30 further comprising protecting a communication with the secured token by secure messaging.
 36. The method of claim 30 further comprising using the secured token for financial transactions.
 37. A method comprising: communicating, using a client, with an applet on a secured token, the applet providing a set of common commands, wherein the secured token includes a plurality of applet instances, including a first applet instance for a first application of the client, the set of common commands specifying file structures, security conditions, and access conditions for each applet instance in the plurality of applet instant.
 38. The method of claim 37, further comprising selecting, using the client, which commands in the set of common commands is available to the first applet instance.
 39. The method of claim 37 further comprising: obtaining the secured token, wherein the secured token is a smartcard.
 40. The method of claim 37 further comprising protecting the communication with the secured token by secure messaging.
 41. The method of claim 37 further comprising conducting a financial transaction with the secured token. 